<%--
  Created by IntelliJ IDEA.
  User: 25673
  Date: 2022/9/24
  Time: 20:37
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>常见问题管理</title>
  <link rel="stylesheet" href="css/bootstrap.min.css" />
  <link rel="stylesheet" href="css/dashboard.css" />
  <script type="text/javascript" src="js/jquery1.12.4.min.js" ></script>
  <script type="text/javascript" src="js/bootstrap.min.js" ></script>
  <script type="text/javascript" src="js/countUp.js" ></script>
  <style>
    .form-horizontal{
      width: 500px;
    }
  </style>
  <script>
    $(document).ready(function () {
      $("#isupdate").click(function () {
        var password = $("#mpassword").val()
        var rpassword = $("#rmpassword").val()
        if(password!=rpassword){
          alert("两次密码不一致"+password+"和"+rpassword)
          $(this).attr("type","button")
        }
      })
    })
  </script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">众筹管理平台</a>
    </div>
    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav navbar-right">
        <li><a href="index.jsp">首页</a></li>
        <li><a href="#">欢迎, ${manage.mname}</a></li>
        <li><a href="#" title="修改个人资料和密码的页面">设置</a></li>
        <li><a href="admin_login.jsp" title="退出登录">退出</a></li>
      </ul>
    </div>
  </div>
</nav>

<div class="container-fluid">
  <div class="row">
    <div class="col-sm-3 col-md-2 sidebar">
      <ul class="nav nav-sidebar">
        <li ><a href="index.jsp">首页</a></li>
      </ul>
      <ul class="nav nav-sidebar">
        <li><a href="/projectManagement/getAll">所有项目*</a></li>
        <li><a href="/projectManagement/getAllNoPro">项目审核</a></li>

        <li><a href="/projectManagement/getAllComment">项目评论</a></li>
        <li><a href="/projectManagement/getAllType">项目分类*</a></li>

      </ul>
      <ul class="nav nav-sidebar">
        <li><a href="/admin/getUsersByCon">注册用户</a></li>
        <li><a href="/admin/getUsersMoney">用户资金</a></li>
        <%--<li><a href="">用户日志</a></li>--%>
        <li><a href="/admin/getUsersReal">实名审核</a></li>
      </ul>
      <ul class="nav nav-sidebar">
        <li><a href="/admin/getNews">新闻管理</a></li>
        <li><a href="/admin/getQuestion">问题管理</a></li>
        <li class="active"><a href="/admin/admin_manage.jsp">管理用户</a></li>
        <%--<li><a href="">管理日志</a></li>--%>
      </ul>
    </div>
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
      <h1 class="page-header">管理用户</h1>
      <div class="panel panel-default">
        <div class="panel-body">
          <div class="table-responsive ">
            <form class="form-horizontal" action="/admin/updateManage" method="post">
              <div class="form-group">
                <label for="mno" class="col-sm-2 control-label">编号</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" id="mno" placeholder="mno" readonly="readonly" value="${sessionScope.manage.mno}" name="mno">
                </div>
              </div>
              <div class="form-group">
                <label for="mname" class="col-sm-2 control-label">用户名</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" id="mname" placeholder="mname" value="${sessionScope.manage.mname}"name="mname">
                </div>
              </div>
              <div class="form-group">
                <label for="mpassword" class="col-sm-2 control-label">密码</label>
                <div class="col-sm-10">
                  <input type="password" class="form-control" id="mpassword" placeholder="mpassword" value="${sessionScope.manage.mpassword}"name="mpassword">
                </div>
              </div>
              <div class="form-group">
                <label for="rmpassword" class="col-sm-2 control-label">确认密码</label>
                <div class="col-sm-10">
                  <input type="password" class="form-control" id="rmpassword" placeholder="rmpassword">
                </div>
              </div>
              <button type="submit" class="btn btn-default quite" id="isupdate">确定</button>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>


